﻿using System.IO.IsolatedStorage;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;

namespace Helper
{
    public partial class MainPage : UserControl
    {
        public MainPage()
        {
            InitializeComponent();
        }

        private void Clear_Click(object sender, RoutedEventArgs e)
        {
            LoggerService.Current.ClearLogs();
        }

        private void Increase_Click(object sender, RoutedEventArgs e)
        {
            using (IsolatedStorageFile file = IsolatedStorageFile.GetUserStoreForSite())
            {
                file.IncreaseQuotaTo(file.Quota + 0x500000L);
            }
        }
    }
}
